package com.bosssoft.entity.po;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author Li kexi
 * Created on 2021/8/19.9:12
 */
/**
 * 预算申请明细表
 */
@ApiModel(value="com-bosssoft-entity-po-FibBudgetDetailsPO")
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "fib_budget_details")
public class FibBudgetDetailsPO implements Serializable {
    /**
     * 预算申请明细id
     */
    @TableId(value = "bgd_id", type = IdType.ASSIGN_ID)
    @ApiModelProperty(value="预算申请明细id")
    private Long bgdId;

    /**
     * 预算申请外键
     */
    @TableField(value = "bgt_id")
    @ApiModelProperty(value="预算申请外键")
    private Long bgtId;

    /**
     * 申请时间
     */
    @TableField(value = "bgd_time",fill = FieldFill.INSERT)
    @ApiModelProperty(value="申请时间")
    private Date createTime;

    /**
     * 申请部门id
     */
    @TableField(value = "bgd_department")
    @ApiModelProperty(value="申请部门id")
    private Long bgdDepartment;

    /**
     * 申请部门名
     */
    @TableField(value = "bgd_dept_name")
    @ApiModelProperty(value="申请部门名")
    private String bgdDeptName;

    /**
     * 申请原因
     */
    @TableField(value = "bgd_reason")
    @ApiModelProperty(value="申请原因")
    private String bgdReason;

    /**
     * 申请种类
     */
    @TableField(value = "bgd_type")
    @ApiModelProperty(value="申请种类")
    private String bgdType;

    /**
     * 申请金额
     */
    @TableField(value = "bgd_amount")
    @ApiModelProperty(value="申请金额")
    private BigDecimal bgdAmount;

    /**
     * 申请状态
     */
    @TableField(value = "bgd_status")
    @ApiModelProperty(value="申请状态")
    private Byte bgdStatus;

    /**
     * 项目负责人
     */
    @TableField(value = "bgd_pi")
    @ApiModelProperty(value="项目负责人")
    private String bgdPi;

    /**
     * 历史审核
     */
    @TableField(value = "bgd_vrf_history")
    @ApiModelProperty(value="历史审核")
    private String bgdVrfHistory;

    /**
     * 创建人
     */
    @TableField(value = "create_by")
    @ApiModelProperty(value="创建人")
    private String createBy;

    /**
     * 更新人
     */
    @TableField(value = "update_by")
    @ApiModelProperty(value="更新人")
    private String updateBy;

    /**
     * 更新时间
     */
    @TableField(value = "update_time",fill = FieldFill.INSERT_UPDATE)
    @ApiModelProperty(value="更新时间")
    private Date updateTime;

    /**
     * 版本号
     */
    @Version
    @TableField(value = "version")
    @ApiModelProperty(value="版本号")
    private Integer version;

    private static final long serialVersionUID = 1L;
}